using System;

namespace CUtil
{
	public enum TradeEventType
	{
		Neutral,
		Investing,
		Loose,
		Win
	}
	/// <summary>
	/// Summary description for TradeEvent.
	/// </summary>
	public class TradeEvent
	{
		private string shareName;
		private string shareID;
		private DateTime date;
		private double quote;
		private int number;
		private double money;
		private TradeType tradeType;

		private TradeEventType tradeEventType;

		private double performance;


		private double tradeSuccessInPercent;

		public TradeEvent()
		{
			tradeEventType = TradeEventType.Investing;
			
		}
		
		public string ShareName
		{
			get 
			{ 
				return this.shareName; 
			}
			set 
			{ 
				this.shareName = value ; 
			}
		}
		public string ShareID
		{
			get 
			{ 
				return this.shareID;
			}
			set 
			{ 
				this.shareID = value ; 
			}
		}
		public DateTime Date
		{
			get 
			{ 
				return this.date; 
			}
			set 
			{ 
				this.date = value ; 
			}
		}
		public double Quote
		{
			get 
			{ 
				return this.quote; 
			}
			set 
			{ 
				this.quote = value ; 
			}
		}
		public int Number
		{
			get 
			{ 
				return this.number; 
			}
			set 
			{ 
				this.number = value ; 
			}
		}
		public double Money
		{
			get 
			{ 
				return this.money; 
			}
			set 
			{ 
				this.money = value ; 
			}
		}
		public TradeType TradeType
		{
			get 
			{ 
				return this.tradeType; 
			}
			set 
			{ 
				this.tradeType = value ; 
			}
		}
		public TradeEventType TradeEventType
		{
			get 
			{ 
				return this.tradeEventType; 
			}
			set 
			{ 
				this.tradeEventType = value ; 
			}
		}
		public double TradeSuccessInPercent
		{
			get 
			{ 
				return this.tradeSuccessInPercent; 
			}
			set 
			{ 
				this.tradeSuccessInPercent = value ; 
			}
		}
		public double Performance
		{
			get 
			{ 
				return this.performance; 
			}
			set 
			{ 
				this.performance = value ; 
			}
		}
		
	
	}
}
